﻿namespace CacheSharp.Core
{
    /// <summary>
    /// 定期清理接口
    /// </summary>
    internal interface ICleaner
    {
        /// <summary>
        /// 自动清理周期
        /// </summary>
        int Interval { get; set; }

        /// <summary>
        /// 开始清理
        /// </summary>
        void Clean();
    }
}
